package impl_v1;

import model.WinnerInformation;

public class WinnerInformationImpl implements WinnerInformation {

	private static final long serialVersionUID = 8166236465909006903L;
	private final String name;
	private final String email;
	private final int finishingPrice;
	
	public WinnerInformationImpl(String name, String email, int finishingPrice) {
		super();
		this.name = name;
		this.email = email;
		this.finishingPrice = finishingPrice;
	}

	@Override
	public String getName() {
		return this.name;
	}

	@Override
	public String getEmail() {
		return this.email;
	}
	
	public int getFinishingPrice() {
		return finishingPrice;
	}
	
	@Override
	public String toString() {
		return "BuyerInformationImpl [name=" + name + ", email=" + email + "]";
	}

}
